/*
* Copyright (c) 2009, Active Web Solutions Limited
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1- Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2- Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* 3- The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
*
* THIS SOFTWARE IS PROVIDED BY Active Web Solutions Limited ''AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL Active Web Solutions Limited BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
package net.aws.jazure.httpconstants;

/**
 * Interface that holds constants for the various HTTP header names used in
 * the API.
 * 
 * @author dyaa.albakour
 *
 */
public interface HeaderNames {
	
        public static final String PrefixForStorageProperties = "x-ms-prop-";
        public static final String PrefixForMetadata = "x-ms-meta-";
        public static final String PrefixForStorageHeader = "x-ms-";
        public static final String PrefixForTableContinuation = "x-ms-continuation-";

        //
        // Standard headers...
        //
        public static final String ContentLanguage = "Content-Language";
        public static final String ContentLength = "Content-Length";
        public static final String ContentType = "Content-Type";
        public static final String ContentEncoding = "Content-Encoding";
        public static final String ContentMD5 = "Content-MD5";
        public static final String ContentRange = "Content-Range";
        public static final String LastModifiedTime = "Last-Modified";
        public static final String Server = "Server";
        public static final String Allow = "Allow";
        public static final String ETag = "ETag";
        public static final String Range = "Range";
        public static final String Date = "Date";
        public static final String Authorization = "Authorization";
        public static final String IfModifiedSince = "If-Modified-Since";
        public static final String IfUnmodifiedSince = "If-Unmodified-Since";
        public static final String IfMatch = "If-Match";
        public static final String IfNoneMatch = "If-None-Match";
        public static final String IfRange = "If-Range";
        public static final String NextPartitionKey = "NextPartitionKey";
        public static final String NextRowKey = "NextRowKey";
        public static final String NextTableName = "NextTableName";

        //
        // Storage specific custom headers...
        //
        public static final String StorageDateTime = PrefixForStorageHeader + "date";
        public static final String PublicAccess = PrefixForStorageProperties + "publicaccess";
        public static final String StorageRange = PrefixForStorageHeader + "range";

        public static final String CreationTime = PrefixForStorageProperties + "creation-time";
        public static final String ForceUpdate = PrefixForStorageHeader + "force-update";            
        public static final String ApproximateMessagesCount = PrefixForStorageHeader + "approximate-messages-count";   
}
